projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5564e
)
Fix gdk_window_get_root_origin and gdk_window_get_frame_extents when called on non...
author
Alexander Larsson
<alexl@redhat.com>
Thu, 18 Dec 2008 19:11:59 +0000
(20:11 +0100)
committer
Alexander Larsson
<alex@localhost.localdomain>
Thu, 2 Apr 2009 08:15:17 +0000
(10:15 +0200)
gdk/x11/gdkwindow-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkwindow-x11.c
b/gdk/x11/gdkwindow-x11.c
index c64e45843eafb992eb9d21070a5cd5a676759951..d893364d200ab92c3b4dd29e178d7b61d34fa252 100644
(file)
--- a/
gdk/x11/gdkwindow-x11.c
+++ b/
gdk/x11/gdkwindow-x11.c
@@
-2809,9
+2809,6
@@
gdk_window_get_root_origin (GdkWindow *window,
{
GdkRectangle rect;
- if (!WINDOW_IS_TOPLEVEL (window))
- return;
-
gdk_window_get_frame_extents (window, &rect);
if (x)
@@
-2865,10
+2862,6
@@
gdk_window_get_frame_extents (GdkWindow *window,
rect->width = 1;
rect->height = 1;
- if (GDK_WINDOW_DESTROYED (window) ||
- !WINDOW_IS_TOPLEVEL (window))
- return;
-
while (private->parent && ((GdkWindowObject*) private->parent)->parent)
private = (GdkWindowObject*) private->parent;